<template>
    <div>
         <el-select 
        v-model="formInline.line"
        @change='onchangeL'
        clearable
         size="mini"
         style="margin-left:5px; margin-top:8px; width:140px" placeholder="请选择内容">
                 <el-option :label="item.LINE_ID"   
                 :value="item.LINE_ID"
                  v-for="(item,index) in this.options2" 
                  :key="index">       
                 </el-option>
        </el-select>
    </div>
</template>

<script>
    export default {
         props:{
            linedroplist:Array,
            formInline:Object,
            onchange:Function
        },
        data(){
            return{
                options2:this.linedroplist,
                formInline1:this.obj
            }
        },
       watch:{
        linedroplist(newVal){
           this.options2 = newVal
        }
       },
       methods:{
         onchangeL(){
            //  console.log('1111111111')
             this.$emit('change')
         }
       }
    }
</script>

<style  scoped>

</style>





